from core.models import Group
from academia.urls import generate_urls
from django.conf.urls import patterns, url
from django.utils.translation import ugettext_lazy as _

urlpatterns = patterns('',
    url(r'^$', 'core.views.homepage', name='homepage'),
    url(_(r'^homepage/$'), 'core.views.homepage', name='home'),
    url(r'^login/', 'core.views.login_dashboard', name='login'),
    url(r'^logout/', 'core.views.logout_dashboard', name='logout'),
)

urlpatterns += generate_urls('core', Group)